﻿namespace Jhong.FunMVCBlog.Core.Entity
{
    using Jhong.Data.Core;
    using Jhong.FunMVCBlog.Core.Enum;
    using System;

    [Table("log")]
    public class Log
    {
        [Column("ID", AutoIncrement = true)]
        public int ID { get; set; }

        public DateTime CreateTime { get; set; }

        public string Content { get; set; }

        public LogType LogType { get; set; }

        public LogFrom LogForm { get; set; }

        public string URL { get; set; }

        public string IP { get; set; }

        public RequestMethod RequestMethod { get; set; }

        public HasRead HasRead { get; set; }
    }
}